import React from 'react';
import { connect } from 'dva';
import styles from './UserPage.css';

class UserPage extends React.Component {

    render() {
        return (
            <div className={styles.normal}>
                <div className={styles.parent}>
                    <div className={styles.child}>
                        <div>我是child</div>
                        <div>我是child</div>
                        <div>我是child</div>
                    </div>
                </div>
            </div>
        );
    }

}

const mapStateToProps = ({user}) => {
    return {user};
};

export default connect(mapStateToProps)(UserPage);